package com.mingtu.jgspatrol.bean;

public class YXRegisterBean {

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private ConfigurationBean configuration;
        private String account_id;
        private String token;
        private UserInformationBean user_information;

        public ConfigurationBean getConfiguration() {
            return configuration;
        }

        public void setConfiguration(ConfigurationBean configuration) {
            this.configuration = configuration;
        }

        public String getAccount_id() {
            return account_id;
        }

        public void setAccount_id(String account_id) {
            this.account_id = account_id;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public UserInformationBean getUser_information() {
            return user_information;
        }

        public void setUser_information(UserInformationBean user_information) {
            this.user_information = user_information;
        }

        public static class ConfigurationBean {
            private boolean enabled;
            private boolean p2p_chat_banned;
            private boolean team_chat_banned;
            private boolean chatroom_chat_banned;
            private boolean qchat_chat_banned;
            private boolean push_enabled_when_desktop_online;

            public boolean isEnabled() {
                return enabled;
            }

            public void setEnabled(boolean enabled) {
                this.enabled = enabled;
            }

            public boolean isP2p_chat_banned() {
                return p2p_chat_banned;
            }

            public void setP2p_chat_banned(boolean p2p_chat_banned) {
                this.p2p_chat_banned = p2p_chat_banned;
            }

            public boolean isTeam_chat_banned() {
                return team_chat_banned;
            }

            public void setTeam_chat_banned(boolean team_chat_banned) {
                this.team_chat_banned = team_chat_banned;
            }

            public boolean isChatroom_chat_banned() {
                return chatroom_chat_banned;
            }

            public void setChatroom_chat_banned(boolean chatroom_chat_banned) {
                this.chatroom_chat_banned = chatroom_chat_banned;
            }

            public boolean isQchat_chat_banned() {
                return qchat_chat_banned;
            }

            public void setQchat_chat_banned(boolean qchat_chat_banned) {
                this.qchat_chat_banned = qchat_chat_banned;
            }

            public boolean isPush_enabled_when_desktop_online() {
                return push_enabled_when_desktop_online;
            }

            public void setPush_enabled_when_desktop_online(boolean push_enabled_when_desktop_online) {
                this.push_enabled_when_desktop_online = push_enabled_when_desktop_online;
            }
        }

        public static class UserInformationBean {
            private String name;
            private String avatar;
            private String mobile;
            private int gender;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public int getGender() {
                return gender;
            }

            public void setGender(int gender) {
                this.gender = gender;
            }
        }
    }
}
